package com.lz.ovuola.web.api;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;

public class PhysiologicalCommand {
	private Integer physiologicalLength;
	private Integer menstruationLength;
	private Integer cycleFloatingDays;
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	// 取日期时使用
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	// 存日期时使用
	private Date startTime;
	// 例假期信息
	private String menstruationDate;
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date endTime;

	public Integer getPhysiologicalLength() {
		return physiologicalLength;
	}

	public void setPhysiologicalLength(Integer physiologicalLength) {
		this.physiologicalLength = physiologicalLength;
	}

	public Integer getMenstruationLength() {
		return menstruationLength;
	}

	public void setMenstruationLength(Integer menstruationLength) {
		this.menstruationLength = menstruationLength;
	}

	public Integer getCycleFloatingDays() {
		return cycleFloatingDays;
	}

	public void setCycleFloatingDays(Integer cycleFloatingDays) {
		this.cycleFloatingDays = cycleFloatingDays;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public String getMenstruationDate() {
		return menstruationDate;
	}

	public void setMenstruationDate(String menstruationDate) {
		this.menstruationDate = menstruationDate;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}
}
